/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DatabasePOJO;

/**
 *
 * @author Mr-Nguyen
 */
public class user {

    //<editor-fold defaultstate="collapsed" desc="1.Khai báo thuộc tính.">
    private String Mauser;
    private String TenDangNhap;
    private String MatKhau;
    private String DienThoai;
    private String Email;
    private String TenThat;
    private String GioTinh;
    private String NgaySinh;
    private String DiaChi;
    private String TinhTrangHonNhan;
    private String lock;
    private String Type;
    private String SoDuTaiKhoan;
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="2.Phương thức getter/setter.">

    public void setNgaySinh(String NgaySinh) {
        this.NgaySinh = NgaySinh;
    }

    public String getSoDuTaiKhoan() {
        return SoDuTaiKhoan;
    }

    public void setSoDuTaiKhoan(String SoDuTaiKhoan) {
        this.SoDuTaiKhoan = SoDuTaiKhoan;
    }

    public String getTenDangNhap() {
        return TenDangNhap;
    }

    public void setTenDangNhap(String TenDangNhap) {
        this.TenDangNhap = TenDangNhap;
    }

    public String getTenThat() {
        return TenThat;
    }

    public void setTenThat(String TenThat) {
        this.TenThat = TenThat;
    }

    public String getTinhTrangHonNhan() {
        return TinhTrangHonNhan;
    }

    public void setTinhTrangHonNhan(String TinhTrangHonNhan) {
        this.TinhTrangHonNhan = TinhTrangHonNhan;
    }

    public String getType() {
        return Type;
    }

    public void setType(String Type) {
        this.Type = Type;
    }
    public void setDiaChi(String DiaChi) {
        this.DiaChi = DiaChi;
    }

    public String getDienThoai() {
        return DienThoai;
    }

    public void setDienThoai(String DienThoai) {
        this.DienThoai = DienThoai;
    }

    public String getEmail() {
        return Email;
    }

    public void setEmail(String Email) {
        this.Email = Email;
    }

    public String getGioTinh() {
        return GioTinh;
    }

    public void setGioTinh(String GioTinh) {
        this.GioTinh = GioTinh;
    }

    public String getLock() {
        return lock;
    }

    public void setLock(String lock) {
        this.lock = lock;
    }

    public String getMatKhau() {
        return MatKhau;
    }

    public void setMatKhau(String MatKhau) {
        this.MatKhau = MatKhau;
    }

    public String getMauser() {
        return Mauser;
    }

    public void setMauser(String Mauser) {
        this.Mauser = Mauser;
    }

    public String getNgaySinh() {
        return NgaySinh;
    }    
    public String getDiaChi() {
        return DiaChi;
    }
    //</editor-fold>
 
    //<editor-fold defaultstate="collapsed" desc="3.Phương thức khỏi tạo.">
    public user() {
        this.Mauser = "";
        this.TenDangNhap = "";
        this.MatKhau = "";
        this.DienThoai = "";
        this.Email = "";
        this.TenThat = "";
        this.GioTinh = "";
        this.NgaySinh = "";
        this.DiaChi = "";
        this.TinhTrangHonNhan = "";
        this.lock = "";
        this.Type = "";
        this.SoDuTaiKhoan = "";
    }
    public user(String Mauser, String TenDangNhap, String MatKhau, String DienThoai, String Email, String TenThat, String GioTinh, String NgaySinh, String DiaChi, String TinhTrangHonNhan, String lock, String Type, String SoDuTaiKhoan) {
        this.Mauser = Mauser;
        this.TenDangNhap = TenDangNhap;
        this.MatKhau = MatKhau;
        this.DienThoai = DienThoai;
        this.Email = Email;
        this.TenThat = TenThat;
        this.GioTinh = GioTinh;
        this.NgaySinh = NgaySinh;
        this.DiaChi = DiaChi;
        this.TinhTrangHonNhan = TinhTrangHonNhan;
        this.lock = lock;
        this.Type = Type;
        this.SoDuTaiKhoan = SoDuTaiKhoan;
    }
    public user(user us)
    {   this.Mauser = us.getMauser();
        this.TenDangNhap = us.getTenDangNhap();
        this.MatKhau = us.getMatKhau();
        this.DienThoai = us.getDienThoai();
        this.Email = us.getEmail();
        this.TenThat = us.getTenThat();
        this.GioTinh = us.getGioTinh();
        this.NgaySinh = us.getNgaySinh();
        this.DiaChi = us.getDiaChi();
        this.TinhTrangHonNhan = us.getTinhTrangHonNhan();
        this.lock = us.getLock();
        this.Type = us.getType();
        this.SoDuTaiKhoan = us.getSoDuTaiKhoan();
    }
    //</editor-fold>
}
